﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace doris.Ticketuser
{
    public partial class loggedOut : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            Label1.Text = "Are you sure you that you want to logg off?";
            
        }

        protected void YesButton_Click(object sender, EventArgs e)
        {
            Session.Abandon();
            System.Web.Security.FormsAuthentication.SignOut();
            Response.Redirect("userMain.aspx");
        }

        protected void NoButton_Click(object sender, EventArgs e)
        {
            Response.Redirect("UserMain.aspx");
        }
       
    }
}